package com.linhh.mall.center.api;

import com.github.pagehelper.PageInfo;
import com.linhh.mall.center.common.pojo.BusinessInfo;

/**
 * @Author linhh
 * @Date 2022 12 11 23 47
 **/
public interface BusinessInfoService {
    PageInfo<BusinessInfo> getBusinessList(Integer pageNo, Integer pageSize, Integer status);

    int selectCompNameExist(String compName);
    int shopNameIsExist(String shopName);
    int shopUserNameIsExist(String shopUserName);
    int register(BusinessInfo businessInfo);

    int updateBusinessInfo(BusinessInfo info);

}
